package com.dao;

import com.pojo.Blog;
import org.apache.ibatis.annotations.Select;

import java.util.List;
import java.util.Map;

public interface BlogMapper {
    public void add(Blog blog);

    @Select("select *from blog")
    public List<Blog> findAllBlogs();

    public List<Blog> find_With_If(Map<String ,String> map);
}
